home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mintmisc
/
flipper.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-03-05
|
747b
|
33 lines
/* Flipper
*
* Little deskaccessory that speeds up MiNT background processes, if run
* under GEM. Compile as FLIPPER.ACC
* It does not matter, if started without MiNT...
*
* Karsten Isakovic @ B
*/
#include <aes.h>
#include <tos.h>
#define Syield() gemdos(255)
void main(void)
{
int d,apid,event,msg[8];
apid = appl_init();
if (!_app && apid>=0) {
while(1) {
event = evnt_multi(MU_TIMER|MU_MESAG,1,1,1,
0,0,0,0,0, 0,0,0,0,0,
msg,50,0,
&d,&d,&d,&d,&d,&d);
if (event&MU_MESAG)
form_alert(1,"[0][ -- Flipper -- | | A tiny MiNT background |"
" process speeder... | ][©92 K.Isakovic]");
Syield();
}
}
}